package com.wandian.texas.command.texas;

import com.wandian.texas.BaseCommandObject;
import com.wandian.texas.CommandObject;
import com.wandian.texas.GameData;
import com.wandian.util.Log;
import com.wandian.command.Cmd;
import com.wandian.command.UserCommand;

/**
 * 1为系统保留的命令，不做网络cmd
 * 
 * @author long
 * @Create 2012-10-3 下午4:56:29
 * @QQ 108232706
 * @version 1.0
 */
@Cmd(code = 1, desc = "")
public class WaitCheckCmd extends UserCommand {
	@Override
	public void execute(BaseCommandObject cmdObject) {
		super.execute(cmdObject);
		String msgString = cmdObject.byteToString();;
		// 将玩家状态设置成已接受连接，若需要可以返回个欢迎
		cmdObject.setStatus(GameData.WAITINGCHECKSUCC);
		Log.debug("execute WaitCheckCmd over, cmd id: " + cmdObject.getCmd() + " ,msg:" + msgString);
	}
}
